package org.lemon.transport.context.service.queue.setting;

import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Setter
@Component
public class QueueRemoteJsInvokeSettings {

    private String requestTopic;

    private String responseTopic;

    private long maxPendingRequests;

    private int responsePollInterval;

    private long maxRequestsTimeout;

    public String getRequestTopic() {
        return requestTopic;
    }

    public String getResponseTopic() {
        return responseTopic;
    }

    public long getMaxPendingRequests() {
        return maxPendingRequests;
    }

    public int getResponsePollInterval() {
        return responsePollInterval;
    }

    public long getMaxRequestsTimeout() {
        return maxRequestsTimeout;
    }
}
